package com.hdaccp.cloud;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.netflix.eureka.EnableEurekaClient;
import org.springframework.cloud.netflix.feign.EnableFeignClients;
import org.springframework.cloud.netflix.hystrix.EnableHystrix;
import org.springframework.context.annotation.ComponentScan;

@SpringBootApplication
@EnableEurekaClient
@EnableFeignClients(basePackages = "com.hdaccp.cloud")
@ComponentScan("com.hdaccp.cloud")
@EnableHystrix
public class MyCloudConsumerFeignApp {
    public static void main(String[] args) {
        SpringApplication.run(MyCloudConsumerFeignApp.class);
    }
}
